import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'


Vue.config.productionTip = false

Vue.use(VueRouter)
const router = new VueRouter({
  routes:[
    {path:'/',component:()=> import('./components/HomeView.vue')},
    { path: '/home', component: () => import('./components/HomeView.vue') },
    {path:'/houseList',component:()=> import('./components/HouseView.vue')},
    {path:'/houseItem',component:()=> import('./components/HouseItem.vue')}
  ]
})
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
